from iniconfig import IniConfig

def read_ini():
    ini_obj = IniConfig('6_requests/jichu/example.ini')

    # print(ini_obj)
    # print(ini_obj['base_url'])

    # for k,v in ini_obj['base_url'].items():
    #     print(f'{k}:')
    # for k,v in ini_obj['pytest'].items():
    #     print(f'{k}:')
    if 'base_url' in ini_obj:
        return dict(ini_obj['base_url'].items())

print(read_ini())